import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    userUpdate: false,
    userGame: false,
    userReply: false,
    loadingS: false,
  },
  mutations: {
    changState(state) {
      state.userUpdate = !state.userUpdate;
    },
    changState2(state) {
      state.userGame = !state.userGame;
    },
    changState3(state) {
      state.userReply = !state.userReply;
    },
    changState4(state) {
      state.loadingS = !state.loadingS;
    },
  },
  actions: {},
  modules: {},
});
